function http({
    url,
    success
}){
    wx-wx.request({
      url,
      data: {},
      header:{'content-type':'application/json'},
      method: 'GET',
      dataType:'json',
      responseType: 'text',
      timeout: 0,
      success: (res) => {
          success(res)
      }
    });
}
module.exports ={
    http
}